package org.madgecko.api.service.iface;

import org.madgecko.api.model.Record;
import org.madgecko.basic.model.Pager;

/**
 * Author       : MadFrog
 * Date         : 2019/6/16 16:33
 * Description  :
 */
public interface IRecordService {
    Record load(Integer id);
    void update(Record record);
    Record add(Record record);
    Pager<Record> findByMember(Integer memberId);
    Long countRecordByMember(Integer memberId);
}
